#ifndef __COMMAND_H
#define __COMMAND_H



#include "at32f415_wk_config.h"
#include "wk_system.h"
#include "pid.h"

#define head 0x64
#define motor_1_speed 0x01
#define motor_2_speed 0x02 
#define motor_3_speed 0x03
#define motor_4_speed 0x04
#define end 0x78

extern PID_Controller motor1,motor2,motor3,motor4;

void command(int8_t *rx_date,uint8_t data_length);


#endif
